-- GENERATED SPELL FOR [Alexandra Blazen] --


function spell0_8378(pUnit, Event) --@Inner Fire,Self--
pUnit:FullCastSpellOnTarget(1006,pUnit)
pUnit:RegisterEvent('Sorts_8378', 626, 1)
end

function spell1_8378(pUnit, Event) --@Renew,Heal--
pUnit:FullCastSpellOnTarget(11640,pUnit)
pUnit:RegisterEvent('Sorts_8378', 15000, 1)
end

function Sorts_8378(pUnit, Event)
local choix_sorts_8378 = math.random(0, 1)
if choix_sorts_8378 == 0 then
pUnit:RegisterEvent('spell0_8378', 1, 1)
end
if choix_sorts_8378 == 1 then
pUnit:RegisterEvent('spell1_8378', 1, 1)
end
end

function mob8378_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8378', math.random(1500, 3000), 1)
end

function mob8378_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8378_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8378_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8378, 1, 'mob8378_Action')
RegisterUnitEvent(8378, 2, 'mob8378_Leave')
RegisterUnitEvent(8378, 3, 'mob8378_Kill')
RegisterUnitEvent(8378, 4, 'mob8378_Die')
